{extend name="index_base" /}
      {block name="seo"}
        <title>跳转提示|{$site_config['site_title']}|{$site_config['seo_title']}</title>
  
  
  <meta name="keywords" content="{$site_config['seo_keyword']}">
  <meta name="description" content="{$site_config['seo_description']}">
      {/block}
{block name="body"}
<style>
.main {
    width: 1080px;
    min-height: 400px;
    margin: 0 auto 15px;
}
.fly-none p {
    margin-top: 30px;
    padding: 0 15px;
    font-size: 20px;
    color: #999;
    font-weight: 300;
}
.fly-none .iconfont {
    line-height: 150px;
    font-size: 150px;
    color: #393D49;
    display: inline-block;
    margin: 30px 0 20px;
}
.fly-none {
    min-height: 400px;
    text-align: center;
    padding-top: 30px;
    color: #999;
}
</style>
<div class="main">
  <div class="fly-panel">
    <div class="fly-none">
    
     <?php switch ($code) {?>
            <?php case 1:?>
              <h2><i style="color:#009688;"  class="iconfont icon-biaoqing"></i></h2>
      <p style="color:#009688"><?php echo(strip_tags($msg));?></p>
      <p class="jump" style="color:#009688">
            页面自动 <a style="color:#393D49" id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
        </p>
            <?php break;?>
            <?php case 0:?>
              <h2><i  style="color:#FF5722" class="iconfont icon-tishilian"></i></h2>
      <p  style="color:#FF5722"><?php echo(strip_tags($msg));?></p>
      <p  style="color:#FF5722" class="jump">
            页面自动 <a  style="color:#2F4056" id="href" href="<?php echo($url);?>">跳转</a> 等待时间： <b id="wait"><?php echo($wait);?></b>
        </p>
            
            <?php break;?>
        <?php } ?>
        
        
        
    
        
        
        
    </div>
  </div>
</div>
<script type="text/javascript">
        (function(){
            var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
            var interval = setInterval(function(){
                var time =--wait.innerHTML;
                if(time <= 0) {
                    location.href = href;
                    clearInterval(interval);
                };
            }, 1000);
        })();
    </script>
{/block}